package vo;

import java.util.Date;

public class Student implements java.io.Serializable {
	private String readerId; //借书证号
	private String name;  //姓名
	private String spec; //专业名
	private String sex;  //性别
	private String born; //出生时间
	private Integer num;  //借书量
	private byte[] photo;  //照片

	public Student() { 
	}
	
	public Student(String name) {
		super();
		this.name = name;
	}

	public Student(String readerId, String name, String spec, String sex,
			String born, Integer num) {
		this.readerId = readerId;
		this.name = name;
		this.spec = spec;
		this.sex = sex;
		this.born = born;
		this.num = num;
	}

	public Student(String readerId, String name, String spec, String sex,
			String born, Integer num, byte[] photo) {
		this.readerId = readerId;
		this.name = name;
		this.spec = spec;
		this.sex = sex;
		this.born = born;
		this.num = num;
		this.photo = photo;
	}
	// 鐪佺暐涓婇潰灞炴�鐨�get 鍜�set 鏂规硶

	public String getReaderId() {
		return readerId;
	}

	public void setReaderId(String readerId) {
		this.readerId = readerId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSpec() {
		return spec;
	}

	public void setSpec(String spec) {
		this.spec = spec;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getBorn() {
		return born;
	}

	public void setBorn(String born) {
		this.born = born;
	}

	public Integer getNum() {
		return num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	public byte[] getPhoto() {
		return photo;
	}

	public void setPhoto(byte[] photo) {
		this.photo = photo;
	}
	
	
}